﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinAlarmManage.UControls
{
    public partial class ParaTextBox : UserControl
    {
        public ParaTextBox()
        {
            InitializeComponent();
        }

        private string dataVal;

        public string DataVal { 
            get { return dataVal; }
            set { label1.Text = dataVal + "" + unit; } 
        }


        private string unit;

        public string Unit
        {
            get { return unit; }
            set { label1.Text = dataVal + "" + unit; }
        }

        
        private string varName;

        public string VarName
        {
            get { return varName; }
            set { varName=value; }
        }

        private void ParaTextBox_Load(object sender, EventArgs e)
        {

        }
    }
}
